
<%@ page language="java" isErrorPage="true" import="com.compuvest.web.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<%@ taglib uri="/WEB-INF/tld/bottom.tld" prefix="bottom" %>
<%@ taglib uri="/WEB-INF/tld/head.tld" prefix="head" %>

<jsp:useBean id="sb" class="MySQL" scope="application"/>
<jsp:useBean id="advertArray" class="AdvertArray" scope="application"/>
<jsp:useBean id="basket" class="Basket" scope="session"/>
<html>
<!-- 403 -->
<%@include file="/incl/head.html" %>

<body onload="menu();">

<table style='height:100%;'>

<tr height=100>
 <td colspan=3>

<head:show />

 </td>
</tr>

<%-- center --%>
<tr valign=top align=center>
 <td style="width:200px;">
  <%= advertArray.getMainMenu(request.isRequestedSessionIdFromCookie(), session) %>
 </td>

 <td>

<br/><br/><br/>
<h1>Error Page</h1>
<br/>
<h3 style="color:red">Sorry, the url <code>"<%= application.getInitParameter("http") %>${requestScope["javax.servlet.error.request_uri"]}"</code> not found!</h3>

<%
/*    StringBuilder result = new StringBuilder();
    result.append("------------------------------------");
    result.append("\nstatus_code: ").append(request.getAttribute("javax.servlet.error.status_code"));
    result.append("\nmessage: ").append(request.getAttribute("javax.servlet.error.message"));
    result.append("\nexception_code: ").append(request.getAttribute("javax.servlet.error.exception_type"));
    result.append("\nexception: ").append(request.getAttribute("javax.servlet.error.exception"));
    result.append("\nrequest_uri: ").append(request.getAttribute("javax.servlet.error.request_uri"));
    result.append("\n------------------------------------");
   System.out.println(result.toString());*/
%>

 </td>

 <td></td>

<tr height=35>
 <td colspan=3>

<bottom:show />

 </td>
</tr>

</table>

</body>
</html>
